package com.example.springbootdemo.dao;

import com.example.springbootdemo.po.Emp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmpDao {
    public Long queryCount();
    public List<Emp> queryDeptEmp();
    public List<Emp> queryEmp(Emp emp);

    public void addEmp(Emp emp);
    public void updateEmp(Emp emp);
    public void delEmp(Integer empNo);
}
